<?php

use yii\db\Migration;

class m170801_080113_alert_card_re_send extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card_re_send}}', 'batch_id', $this->Integer(11) . ' default 0 comment \'批次\'');
    }

    public function safeDown()
    {
        $this->dropColumn('{{%card_re_send}}', 'batch_id');

    }
}
